﻿/*
    文件上传附件表
 */
using Abp.Domain.Entities.Auditing;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;

namespace SOEI.Solution.FileUpLoader
{
    [Table("NESF_ATTACHS")]
    public class Attach:AuditedEntity<long>
    {
        /// <summary>
        /// 文件名称
        /// </summary>
        [Column("FILENAME")]
        public string FileName { get; set; }

        /// <summary>
        /// 文件路径
        /// </summary>
        [Column("PATH")]
        public string Path { get; set; }

        /// <summary>
        /// 文件大小
        /// </summary>
        [Column("SIZE")]
        public long Size { get; set; }

        /// <summary>
        /// 扩展名称
        /// </summary>
        [Column("EXTENSION")]
        public string Extension { get; set; }

        /// <summary>
        /// 媒体类型
        /// </summary>
        [Column("CONTENTTYPE")]
        public string ContentType { get; set; }

        /// <summary>
        /// 关联使用模块的编号
        /// </summary>
        [Column("MODULEID")]
        public Guid ModuleID { get; set; }

        /// <summary>
        /// 排序字段
        /// </summary>
        [Column("ORDERNUM")]
        public int OrderNum { get; set; }

        /// <summary>
        /// 文件类型（用户自定义）
        /// </summary>
        [Column("FILETYPE")]
        public string FileType { get; set; }
    }
}
